const userModel = require('../model/userModel')

module.exports = {  //获取数据库内的数据

  async index(req, res) {
    let data = await userModel.getUsers()
    res.render('user.html', { data })
  }


}

